//
// Created by 11510 on 2024/6/20.
//
#include <iostream>

using namespace std;

template<class ...Args>
//Args 模板参数包
void display(Args ...args)//args 函数参数包
{
//输出模板参数包中类型参数个数
    cout << "sizeof...(Args) = " << sizeof...(Args) << endl;
//输出函数参数包中参数的个数
    cout << "sizeof...(args) = " << sizeof...(args) << endl;

}

void test0() {
    display();
    display(1, "hello", 3.3, true);
}

int main() {
    test0();
}